package com.pro.service.imple;

import com.pro.mapper.JsOperationLogMapper;
import com.pro.pojo.JsOperationLog;
import com.pro.service.JsOperationLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * ClassName:JsOperationLogServiceImple
 * Package:com.pro.service.imple
 * Description:
 *
 * @Date:2021/12/13 19:05
 * @Author: ZPT
 */
@Service
public class JsOperationLogServiceImple implements JsOperationLogService {

    @Autowired(required = false)
    private JsOperationLogMapper mapper;
    @Override
    public List<JsOperationLog> getOperationLogList(String type,String executionTime,Integer operationType) {
        return mapper.getOperationLogList(type,executionTime,operationType);
    }

    @Override
    public Integer removeLogById(Integer id) {
        return mapper.removeLogById(id);
    }

    @Override
    public Integer addOperationLog(JsOperationLog jsOperationLog) {
        return mapper.addOperationLog(jsOperationLog);
    }
}
